package com.intramirror.wd.business.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.intramirror.wd.model.po.S2cCoupons;
import com.intramirror.wd.model.po.S2cCouponsExample;

@Repository
public interface S2cCouponsMapper {
    /**
     * @mbg.generated
     */
    long countByExample(S2cCouponsExample example);

    /**
     * @mbg.generated
     */
    int insert(S2cCoupons record);

    /**
     * @mbg.generated
     */
    int insertSelective(S2cCoupons record);

    /**
     * @mbg.generated
     */
    List<S2cCoupons> selectByExample(S2cCouponsExample example);

    /**
     * @mbg.generated
     */
    S2cCoupons selectByPrimaryKey(Integer id);

    /**
     * @mbg.generated
     */
    int updateByExampleSelective(@Param("record") S2cCoupons record, @Param("example") S2cCouponsExample example);

    /**
     * @mbg.generated
     */
    int updateByExample(@Param("record") S2cCoupons record, @Param("example") S2cCouponsExample example);

    /**
     * @mbg.generated
     */
    int updateByPrimaryKeySelective(S2cCoupons record);

    /**
     * @mbg.generated
     */
    int updateByPrimaryKey(S2cCoupons record);

    List<S2cCoupons> findByIdIn(@Param("idList")List<Integer> idList);


}